package main

import (
	"github.com/redis/go-redis/v9"
)

func CreateRedisClient(address string, password string) *redis.Client {
	rdb := redis.NewClient(&redis.Options{
		Addr:     address,
		Password: password, // no password set
		DB:       1,        // use default DB
	})
	return rdb
}
